package com.webservice.xmloper.monitorIllegalDomain;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

@XStreamAlias("idcMonitor")
public class IdcMonitor {
	private String commandId;
	private String idcId;
	private Integer monitorState;
	@XStreamImplicit
	private List<HouseMonitor> houseMonitors = new ArrayList<HouseMonitor>();
	private Timestamp timeStamp;
	
	public void addHouseMonitor(HouseMonitor houseMonitor){
		houseMonitors.add(houseMonitor);
	}
	public String getCommandId() {
		return commandId;
	}

	public void setCommandId(String commandId) {
		this.commandId = commandId;
	}

	public String getIdcId() {
		return idcId;
	}
	public void setIdcId(String idcId) {
		this.idcId = idcId;
	}
	public Integer getMonitorState() {
		return monitorState;
	}
	public void setMonitorState(Integer monitorState) {
		this.monitorState = monitorState;
	}
	public List<HouseMonitor> getHouseMonitors() {
		return houseMonitors;
	}
	public void setHouseMonitors(List<HouseMonitor> houseMonitors) {
		this.houseMonitors = houseMonitors;
	}
	public Timestamp getTimeStamp() {
		return timeStamp;
	}
	public void setTimeStamp(Timestamp timeStamp) {
		this.timeStamp = timeStamp;
	}
}
